package com.example.AIstudy.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.AIstudy.domain.Exercise;
import com.example.AIstudy.domain.Question;
import com.example.AIstudy.domain.StuAndProSet;
import com.example.AIstudy.exception.AIstudyException;

import java.util.List;
import java.util.Map;

public interface StuAndProSetService extends IService<StuAndProSet> {

    //新增一个用户做套题的记录
    void insertStuAndSet(StuAndProSet stuAndProSet)throws AIstudyException;

    //更新做题的记录
    public void updateStuAndSet(StuAndProSet stuAndProSet) throws AIstudyException;

    //分页获取做题的记录
    public IPage<StuAndProSet> findStuAndSet(Map<String,Object> condition, Integer pageNum, Integer pageSize);
}
